<div class="col-sm-4" th:fragment="select (title,name,arrs,val)">

	<label for="contacts" class="col-sm-4 control-label text-r mt-5"><strong th:text="${title}+'：'"></strong></label>
	<div class="col-sm-8">
		<span class="select-box">
		  <select class="select"  size="1" name="demo1" th:name="${name}" th:id="${name}" th:value="${val}">
		    <option value="" selected="selected" >请选择</option>
		    <option th:each="map, index:${arrs}" th:value="${map.key}" th:text="${map.value}"></option>
		  </select>
		</span>
		</div>

</div>


<div class="row cl" th:fragment="selectFrom (title,name,arrs,val)">
	<label for="contacts" class="form-label col-xs-4 col-sm-2"><span th:text="${title}+'：'"></span></label>
	<div class="col-sm-4">
		<span class="select-box">
		  <select class="select"  size="1" name="demo1" th:name="${name}" th:id="${name}" th:value="${val}">
		    <option value="" selected="selected" >请选择</option>
		    <option th:each="map, index:${arrs}" th:value="${map.key}" th:text="${map.value}"></option>
		  </select>
		</span>
		</div>

</div>